Because of the shortage of external mode, the real-Time simulation systems based on RTW ( Real-Time Workshop) interviewed the application program interface of C-file ( C-API) to modify the main process, interview the parameter information in model_pt. 针对外部模式不足,基于实时工作箱(RTW)实时仿真系统,采用访问C文件应用程序接口(C-API),修改主程序并访问modelpt。